﻿@{
    Layout = null;
    int i = 1;
}
<form id="pagerForm" method="get" action="BaseData/Customer/index?action=page&OpID=@ViewData["OperateID"]">
    <input type="hidden" name="pageNum" value="1" />
    <input type="hidden" name="numPerPage" value="@ViewData["pageSize"]" />
    <input type="hidden" name="RowCount" value="@ViewData["RowCount"]" />
    <input type="hidden" name="Name" value="" />
</form>
<div class="pageHeader" style="display:none;">
    <form onsubmit="return navTabSearch(this);" id="Form_@ViewData["CurrentController"]" action="BaseData/ProductStructures/index?action=search&OpID=@ViewData["OperateID"]"
          method="post">
        <div class="searchBar">
            <table class="searchContent">
                <tr>
                    <td>
                        料件编号：
                    </td>
                    <td>
                        @Html.TextBox("Name", "", new { style = "width:80px;" })
                    </td>
                    <td>
                        用料：
                    </td>
                    <td>
                        @Html.TextBox("Name", "", new { style = "width:80px;" })
                    </td>
                    <td>
                        损耗率：
                    </td>
                    <td>
                        @Html.TextBox("Name", "", new { style = "width:80px;" })
                    </td>
                    <td>
                        生效日期：
                    </td>
                    <td>
                        @Html.TextBox("Name", "", new { @class = "date", @pattern = "yyyy-MM-dd", style = "width:80px;" }) - @Html.TextBox("Name", "", new { @class = "date", @pattern = "yyyy-MM-dd", style = "width:80px;" })
                    </td>
                    <td align="right">
                        <div class="subBar">
                            <ul>
                                <li>
                                    <div class="buttonActive">
                                        <div class="buttonContent">
                                            <button type="submit" name="submit">
                                                查询
                                            </button>
                                        </div>
                                    </div>
                                </li>
                            </ul>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</div>
<div class="pageContent">
    @Html.Partial("Buttons", ViewData["CurrentPageButtons"])
    <table class="treetable list " width="100%" layouth="95">
        <thead>
            <tr class="header">
                <th>料件编号</th>
                <th>层级</th>
                <th>用料</th>
                <th>损耗率</th>
                <th>版本</th>
                <th>品名</th>
                <th>规格</th>
                <th>单位重量</th>
                <th>生效日期</th>
                <th>失效日期</th>
                <th>产品类别</th>
                <th>产品区分</th>
                <th>备注</th>
            </tr>
        </thead>
        <tbody>
            <tr target="CraftLine_id" rel="7" data-tt-id="7">
                <td>料件编号</td>
                <td>层级</td>
                <td>用料</td>
                <td>损耗率</td>
                <td>版本</td>
                <td>品名</td>
                <td>规格</td>
                <td>单位重量</td>
                <td>生效日期</td>
                <td>失效日期</td>
                <td>产品类别</td>
                <td>产品区分</td>
                <td>备注</td>
            </tr>
            <tr target="CraftLine_id" rel="2" data-tt-id="8">
                <td>料件编号</td>
                <td>层级</td>
                <td>用料</td>
                <td>损耗率</td>
                <td>版本</td>
                <td>品名</td>
                <td>规格</td>
                <td>单位重量</td>
                <td>生效日期</td>
                <td>失效日期</td>
                <td>产品类别</td>
                <td>产品区分</td>
                <td>备注</td>
            </tr>
        </tbody>
        @*@foreach (var item in Model)
            {
                <tr target="Role_id" rel="@item.Id/@item.Code" data-tt-id="@item.Code" data-tt-parent-id="@item.ParentID">
                    <td>
                        @i
                    </td>
                    <td>@item.Code</td>
                    <td>
                        @item.Name
                    </td>
                    <td>
                        @item.Creator
                    </td>
                    <td>
                        <span formatdate="yyyy-MM-dd HH:mm">
                            @item.CreateDate
                        </span>
                    </td>
                </tr>
                i += 1;
            }*@
    </table>
</div>
@Html.Partial("PageBar")

